﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SmallJob.Data.Interfaces;
using SmallJob.Model;

namespace SmallJob.Services.Interfaces
{
    public interface ICategoryService : IRepository<Category>
    {
        List<Category> GetByPage(int page, int pagesize, out int total);
        List<Category> GetAllAvaiable();
        List<Category> GetTreeCategoryUse();

        List<Category> GetByPageFilter(int page, int pagesize, out int total, string filter);
    }
}
